<template>
 <div>
  <pk-dialog :footer="false" :style="{width: '300px'}" @onClose="onClose">
    <div class="pk-wxtip">
      <div class="pk-wxtip-qrcodebox"></div>
        <div class="pk-wxtip-qrcodetext">添加客服微信开通企业账户</div>
        <div class="pk-wxtip-qrcodetext">
          <el-button type="danger" @click="onClose">关闭</el-button>
        </div>
    </div>
  </pk-dialog>
 </div>
</template>

<script setup>
import { defineEmits } from 'vue'
import pkDialog from '@/components/pkui/pkdialog/pkdialog.vue'
import pkButton from '@/components/pkui/pkbutton/pkbutton.vue'
const emits = defineEmits(['onClose'])

const onClose = () => {
  emits('onClose')
}
</script>

<style lang="scss" scoped>
.pk-wxtip {
  display: flex;
  flex-direction: column;
  position: relative;
  justify-content: center;
  align-items: center;
  &-qrcode{
    position: absolute;
    top:-20px;
    left:-20px;
    right:-20px;
    bottom:-20px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(3px);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
  }
  &-qrcodebox{
    width: 200px;
    height: 200px;
    background: url('@/assets/image/qrcode.png') center center no-repeat;
    background-size: 200px auto;
    border: #999 1px solid;
  }
  &-qrcodetext{
    font-size: 16px;
    margin-top: 20px;
    font-weight: bold;
  }
  &-title{
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 24px;
  }
  &-bd {
    display: flex;
    flex-direction: row;
  }
  &-item {
    flex: 1;
    margin-right: 12px;
  }
  &-info{
    height: 460px;
    display: flex;
    flex-direction: column;
  }
  &-content{
    flex:1
  }
  &-card{
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.15) !important;
    border-radius: 12px;
    padding: 12px 24px;
  }
  &-infotitle{
    border-bottom: #e8e8e8 1px solid;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }
  &-price{
    display: flex;
    flex-direction: row;
    align-items: center;
    line-height: 32px; 
    justify-content: center;
  }
  &-pricevalue{
    position: relative;
    padding-right: 66px;
  }
  &-unit{
    position: absolute;
    bottom: 0;
    right:0;
    height: 20px;
    line-height: 20px;
    // transform: translateY(-50%);
  }
  // &-txt{
  //   font-size: 12px;
  //   line-height: 16px;
  //   margin-bottom: 8px;
  //   background: url('@/assets/image/trueicon.png') center left no-repeat;
  //   background-size: 14px auto;
  //   padding-left: 18px;
  //   color: #333;
  // }
  // &-kehu{
  //   display: flex;
  //   flex-direction: row;
  //   border-top: #e8e8e8 1px solid;
  //   padding-top: 20px;
  // }
}
</style>